package times;

import javax.swing.*;
import java.awt.event.ActionListener;

public class Main {
    public static void main(String[] args)
    {
        ActionListener listener = new TimePrinter();
        Timer t = new Timer(10000,listener);
        t.start();
        JOptionPane.showMessageDialog(null,"请稍等或按确定介绍");
        System.exit(0);
    }
}
